package com.example.demo.dao

import com.example.demo.bean.UserBean

interface UserDao {
    fun login(username:String,pwd:String):UserBean?
    fun register(username:String,pwd:String,phone:String):Boolean?
    fun delete(username:String):Boolean?
    fun update(phone:String):Boolean?
//    fun add(userBean: UserBean): Int
//    fun update(userBean: UserBean): Int
//    fun delete(id: Long): Int
//    fun findAuthor(id: Long): UserBean?
//    fun findAuthorList(): List<UserBean>
}